package com.todo.content.iface.frontend;

import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.content.iface.frontend.request.ContentClassifyBaseListParam;
import com.todo.content.iface.frontend.request.QueryContentClassifyDetailByCodeParam;
import com.todo.content.iface.frontend.request.RecommendContentClassifyListParam;
import com.todo.content.iface.frontend.response.ContentClassifyBaseVO;
import com.todo.content.iface.frontend.response.ContentClassifyDetailVO;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/5/9 14:52
 * @description
 */
public interface ContentClassifyFrontendIface {

    /**
     * 分类列表
     *
     * @param param
     * @return
     */
    BizPageResponse<ContentClassifyBaseVO> queryContentClassifyList(ContentClassifyBaseListParam param);

    /**
     * 推荐分类列表
     * 注：最多推荐20个分类信息，数据默认配置
     *
     * @param param
     * @return
     */
    BizResponse<List<ContentClassifyBaseVO>> baseRecommendContentClassifyList(RecommendContentClassifyListParam param);

    /**
     * 根据分类Id查询分类详情
     *
     * @param param
     * @return
     */
    BizResponse<ContentClassifyDetailVO> queryContentClassifyDetailByCode(QueryContentClassifyDetailByCodeParam param);
}
